﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ERP_RORZE_DLL.Product.DAO;

namespace ERP_RORZE_PRODUCT.Product.Machine
{
    public partial class ctrlMachineDailyTime : DevExpress.XtraEditors.XtraUserControl
    {
        ClsMachineDAO clsmachineDAO = new ClsMachineDAO();
        DataTable dt;
        public ctrlMachineDailyTime()
        {
            InitializeComponent();
        }
        void Reload(object sender, EventArgs e)
        {
            //dt = clsmachineDAO.GetAllMachineDailyTime();
            //dgvMachineDailyTime.DataSource = dt;
            //gridView1.BestFitColumns();
        }

        private void btnReload_Click(object sender, EventArgs e)
        {
            Reload(sender, e);
        }

        private void dgvMachineDailyTime_Load(object sender, EventArgs e)
        {
            Reload(sender, e);
        }
    }
}
